home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccppppaaaacccckkkk((((3333GGGG)))) ccccppppaaaacccckkkk((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ccccppppaaaacccckkkk - specifies RGBA color with a single packed 32-bit integer
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ccccppppaaaacccckkkk((((ppppaaaacccckkkk))))
- iiiinnnntttteeeeggggeeeerrrr****4444 ppppaaaacccckkkk
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _p_a_c_k expects a packed integer containing the RGBA (red, green, blue,
- alpha) values you want to assign as the current color. Expressed
- in hexadecimal, the format of the packed integer is $_a_a_b_b_g_g_r_r,
- where:
-
- _a_a is the alpha value,
- _b_b is the blue value,
- _g_g is the green value, and
- _r_r is the red value.
-
- RGBA component values range from 0 to $FF (255).
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ccccppppaaaacccckkkk sets the red, green, blue, and alpha color components of the
- currently active GL framebuffer, one of normal, popup, overlay, or
- underlay (see ddddrrrraaaawwwwmmmmoooo). The current framebuffer must be in RGB mode (see
- RRRRGGGGBBBBmmmmoooodddd) for the ccccppppaaaacccckkkk command to be applicable. Most drawing commands
- copy the current RGBA color components into the color bitplanes of the
- current framebuffer. Color components are retained in each draw mode, so
- when a draw mode is re-entered, red, green, blue, and alpha are reset to
- the last value specified in that draw mode.
-
- Color component values range from 0, specifying no intensity, through
- 255, specifying maximum intensity. For example, ccccppppaaaacccckkkk(((($$$$FFFFFFFF000000004444000088880000)))) sets
- red to 16#80# (half intensity), green to 16#40# (quarter intensity), blue
- to 0 (off), and alpha to 16#FF# (full intensity).
-
- It is an error to call ccccppppaaaacccckkkk while the current framebuffer is in color
- map mode.
-
- The color components of all framebuffers in RGB mode are set to zero when
- ggggccccoooonnnnffffiiii is called.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- c, drawmo, gRGBco, lmcolo
-
- NNNNOOOOTTTTEEEE
- ccccppppaaaacccckkkk can also be used to modify the current material while lighting is
- active (see llllmmmmccccoooolllloooo).
-
- Because only the normal framebuffer currently supports RGB mode, ccccppppaaaacccckkkk
- should be called only while draw mode is NNNNOOOORRRRMMMMAAAALLLL. Use ggggeeeettttggggddddeeee to determine
- whether RGB mode is available in draw mode NNNNOOOORRRRMMMMAAAALLLL.
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-